package com.xd.clap.services;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.xd.clap.entity.GridOperator;
import com.xd.clap.entity.request.PageNumVO;
import com.xd.clap.entity.response.Result;

public interface GridOperatorService extends IService<GridOperator> {
    /**
     * 分页获取网格信息
     *
     * @param pageNumVO
     * @return
     */
    Result getGrid(GridOperator gridOperator,PageNumVO pageNumVO);

    /**
     * 修改网格数据
     * @param gridOperator
     * @return
     */
    Result updateGrid(GridOperator gridOperator);

    /**
     * 添加网格数据
     * @param gridOperator
     * @return
     */
    Result addGrid(GridOperator gridOperator);

    /**
     * 删除数据
     * @param gridId
     * @return
     */
    Result deleteGrid(Integer gridId);


    /**
     * 查询所有数据
     * @return
     */
    Result getGridAll();
}
